﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reporting.Domain
{
    /// <summary>
    /// 销售订单
    /// </summary>
    public class SaleOrder
    {
        /// <summary>
        /// 销售订单ID
        /// </summary>
        [Key]
        public int SaleOrderID { get; set; }
        /// <summary>
        /// 销售单号
        /// </summary>
        public string SalesOrderNumber { get; set; }
        /// <summary>
        /// 销售订单主题
        /// </summary>
        public string SalesOrderTheme { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime SaleDate { get; set; }
        /// <summary>
        /// 出库状态
        /// </summary>
        public string OutboundStatus { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal TotalAmount { get; set; }
        /// <summary>
        /// 已收款金额
        /// </summary>
        public decimal ReceivedAmount { get; set; }
        /// <summary>
        /// 未收款金额
        /// </summary>
        public decimal UnpaidAmount{ get; set; }
        /// <summary>
        /// 已开票金额
        /// </summary>
        public decimal InvoicedAmount { get; set; }
        /// <summary>
        /// 未开票金额
        /// </summary>
        public decimal UnlicensedAmount { get; set; }
    }
}
